package cn.abcsys.devops.application.dao;

import cn.abcsys.devops.application.model.ApplicationEvents;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository(value="applicationEventsMapper")
public interface ApplicationEventsMapper {
    int deleteByPrimaryKey(Integer applicationEventId);

    int insert(ApplicationEvents record);

    int insertSelective(ApplicationEvents record);

    ApplicationEvents selectByPrimaryKey(Integer applicationEventId);

    int updateByPrimaryKeySelective(ApplicationEvents record);

    int updateByPrimaryKey(ApplicationEvents record);

    List<ApplicationEvents> selectByApplicationCoreId(@Param("record") ApplicationEvents record,@Param("page") int page,@Param("rows") int rows);
    Integer selectCountByApplicationCoreId(ApplicationEvents record);
}